<% if active_scaffold_config.action_links.any? { |link| link.type == :collection } -%>
  <div class="actions">
    <% new_params = params_for(:action => :index) %>
    <% active_scaffold_config.action_links.each :collection do |link| -%>
      <% next if skip_action_link(link) -%>
	  <% next if link.action == 'new' %>
	  <% next if link.action == 'show_search' && active_scaffold_config.list.always_show_search %>
      <%= render_action_link(link, new_params) -%>
    <% end -%>

    <%= loading_indicator_tag(:action => :index) %>
  </div>
<% end %>
<h2><%= active_scaffold_config.list.user.label %></h2>
